package com.meet.service;

import com.meet.entity.BoardRoom;
import com.meet.entity.Meeting;
import com.meet.entity.PageBean;
import com.meet.vo.MeetingConfirm;
import com.meet.vo.MeetingVo;

import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.List;

/**
 * @Author LiDianyang
 * @Date 2022/8/11 21:37
 * @PackageName:com.meet.service
 * @ClassName: Meeting
 * @Description: TODO
 * @Version 1.0
 */
public interface MeetingService {

    public int addMeeting(Meeting meeting) throws SQLException;

    public int updateMeeting(Meeting meeting) throws SQLException;

    public int deleteMeeting(Integer id) throws SQLException;

    public List<MeetingVo> getMeetingCard(int page, int number) throws SQLException;

    public int getCount() throws SQLException;

    public MeetingVo getMeeting(Integer Id) throws SQLException;

    public PageBean<MeetingVo> getAllMeetsByPage(String _currentPage, String _rows) throws SQLException;

    public List<Meeting> getAllMeeting(Integer id,Timestamp tStart, Timestamp tEnd) throws SQLException;

    /**
     * 曾广龙写的
     */
    public List<MeetingConfirm> getMeetingConfirm(boolean tag, Integer mid) throws SQLException;
}
